home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 19 / Mac Magazin and MacEasy Magazine CD - Issue 19.iso / Datenbanken & Hypercard / Cindy's Recipes / Cindy's Recipes / background_5160.xml < prev    next >
Extensible Markup Language  |  1996-03-03  |  31KB  |  828 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>5160</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_6692.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_6171.css" />
  11.     <part>
  12.         <id>3</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <true /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>51</left>
  23.             <top>36</top>
  24.             <right>457</right>
  25.             <bottom>63</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Palatino</font>
  37.         <textSize>18</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>24</textHeight>
  40.         <name>Name</name>
  41.         <script>on closeFieldput the first line of me into meend closeField</script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <false /> </fixedLineHeight>
  51.         <autoTab> <true /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>35</left>
  55.             <top>52</top>
  56.             <right>82</right>
  57.             <bottom>71</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Palatino</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>16</textHeight>
  72.         <name>Calories</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>5</id>
  77.         <type>field</type>
  78.         <visible> <true /> </visible>
  79.         <dontWrap> <false /> </dontWrap>
  80.         <dontSearch> <false /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <false /> </fixedLineHeight>
  83.         <autoTab> <true /> </autoTab>
  84.         <lockText> <false /> </lockText>
  85.         <rect>
  86.             <left>427</left>
  87.             <top>51</top>
  88.             <right>474</right>
  89.             <bottom>70</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <false /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Palatino</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <textHeight>16</textHeight>
  104.         <name>Serves</name>
  105.         <script></script>
  106.     </part>
  107.     <part>
  108.         <id>1</id>
  109.         <type>field</type>
  110.         <visible> <true /> </visible>
  111.         <dontWrap> <false /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <false /> </fixedLineHeight>
  115.         <autoTab> <true /> </autoTab>
  116.         <lockText> <false /> </lockText>
  117.         <rect>
  118.             <left>29</left>
  119.             <top>75</top>
  120.             <right>230</right>
  121.             <bottom>294</bottom>
  122.         </rect>
  123.         <style>transparent</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <false /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>left</textAlign>
  132.         <font>Palatino</font>
  133.         <textSize>10</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <textHeight>13</textHeight>
  136.         <name>Ingredients</name>
  137.         <script>on mouseEnterglobal theSelectionput empty into theSelectionend mouseEnteron mouseLeaveglobal theSelectionput the selection into theSelectionend mouseLeave</script>
  138.     </part>
  139.     <part>
  140.         <id>4</id>
  141.         <type>field</type>
  142.         <visible> <true /> </visible>
  143.         <dontWrap> <false /> </dontWrap>
  144.         <dontSearch> <false /> </dontSearch>
  145.         <sharedText> <false /> </sharedText>
  146.         <fixedLineHeight> <false /> </fixedLineHeight>
  147.         <autoTab> <true /> </autoTab>
  148.         <lockText> <false /> </lockText>
  149.         <rect>
  150.             <left>240</left>
  151.             <top>75</top>
  152.             <right>479</right>
  153.             <bottom>296</bottom>
  154.         </rect>
  155.         <style>transparent</style>
  156.         <autoSelect> <false /> </autoSelect>
  157.         <showLines> <false /> </showLines>
  158.         <wideMargins> <false /> </wideMargins>
  159.         <multipleLines> <false /> </multipleLines>
  160.         <reservedFamily> 0 </reservedFamily>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>left</textAlign>
  164.         <font>Palatino</font>
  165.         <textSize>10</textSize>
  166.         <textStyle>plain</textStyle>
  167.         <textHeight>13</textHeight>
  168.         <name>Directions</name>
  169.         <script></script>
  170.     </part>
  171.     <part>
  172.         <id>9</id>
  173.         <type>field</type>
  174.         <visible> <true /> </visible>
  175.         <dontWrap> <false /> </dontWrap>
  176.         <dontSearch> <false /> </dontSearch>
  177.         <sharedText> <false /> </sharedText>
  178.         <fixedLineHeight> <false /> </fixedLineHeight>
  179.         <autoTab> <true /> </autoTab>
  180.         <lockText> <true /> </lockText>
  181.         <rect>
  182.             <left>167</left>
  183.             <top>18</top>
  184.             <right>351</right>
  185.             <bottom>37</bottom>
  186.         </rect>
  187.         <style>transparent</style>
  188.         <autoSelect> <false /> </autoSelect>
  189.         <showLines> <false /> </showLines>
  190.         <wideMargins> <false /> </wideMargins>
  191.         <multipleLines> <false /> </multipleLines>
  192.         <reservedFamily> 0 </reservedFamily>
  193.         <titleWidth>0</titleWidth>
  194.         <icon>0</icon>
  195.         <textAlign>center</textAlign>
  196.         <font>Palatino</font>
  197.         <textSize>10</textSize>
  198.         <textStyle>plain</textStyle>
  199.         <textHeight>13</textHeight>
  200.         <name>Section</name>
  201.         <script>on mouseDownput me into tempupdateSection temppopUpput me into tempupdateSection tempend mouseDown</script>
  202.     </part>
  203.     <part>
  204.         <id>8</id>
  205.         <type>button</type>
  206.         <visible> <true /> </visible>
  207.         <reserved5> 0 </reserved5>
  208.         <reserved4> 0 </reserved4>
  209.         <reserved3> 0 </reserved3>
  210.         <reserved2> 0 </reserved2>
  211.         <reserved1> 0 </reserved1>
  212.         <enabled> <true /> </enabled>
  213.         <rect>
  214.             <left>450</left>
  215.             <top>287</top>
  216.             <right>478</right>
  217.             <bottom>315</bottom>
  218.         </rect>
  219.         <style>transparent</style>
  220.         <showName> <false /> </showName>
  221.         <highlight> <false /> </highlight>
  222.         <autoHighlight> <true /> </autoHighlight>
  223.         <sharedHighlight> <true /> </sharedHighlight>
  224.         <family>0</family>
  225.         <titleWidth>0</titleWidth>
  226.         <icon>1012</icon>
  227.         <textAlign>center</textAlign>
  228.         <font>Chicago</font>
  229.         <textSize>12</textSize>
  230.         <textStyle>plain</textStyle>
  231.         <name>Return</name>
  232.         <script>on mouseUpgo to card "Scroll Recipes"end mouseUp</script>
  233.     </part>
  234.     <part>
  235.         <id>18</id>
  236.         <type>button</type>
  237.         <visible> <true /> </visible>
  238.         <reserved5> 0 </reserved5>
  239.         <reserved4> 0 </reserved4>
  240.         <reserved3> 0 </reserved3>
  241.         <reserved2> 0 </reserved2>
  242.         <reserved1> 0 </reserved1>
  243.         <enabled> <true /> </enabled>
  244.         <rect>
  245.             <left>56</left>
  246.             <top>295</top>
  247.             <right>205</right>
  248.             <bottom>317</bottom>
  249.         </rect>
  250.         <style>roundrect</style>
  251.         <showName> <true /> </showName>
  252.         <highlight> <false /> </highlight>
  253.         <autoHighlight> <true /> </autoHighlight>
  254.         <sharedHighlight> <true /> </sharedHighlight>
  255.         <family>0</family>
  256.         <titleWidth>0</titleWidth>
  257.         <icon>0</icon>
  258.         <textAlign>center</textAlign>
  259.         <font>Chicago</font>
  260.         <textSize>12</textSize>
  261.         <textStyle>plain</textStyle>
  262.         <name>Add to Shopping List</name>
  263.         <script>on mouseUpglobal theSelectionif theSelection is empty thenput "Please select something first!"beepwait 2 secondshide msgelseif last char of theSelection is not return thenput return after last char of theSelectionend ifrepeat foreverif first char of theSelection is space thenput empty into first char of theSelectionelseexit repeatend ifend repeatput theSelection after card field "Shopping List" of card¬¨"Shopping List"put empty into theSelectionend ifend mouseUp</script>
  264.     </part>
  265.     <part>
  266.         <id>23</id>
  267.         <type>field</type>
  268.         <visible> <false /> </visible>
  269.         <dontWrap> <true /> </dontWrap>
  270.         <dontSearch> <false /> </dontSearch>
  271.         <sharedText> <false /> </sharedText>
  272.         <fixedLineHeight> <true /> </fixedLineHeight>
  273.         <autoTab> <false /> </autoTab>
  274.         <lockText> <false /> </lockText>
  275.         <rect>
  276.             <left>422</left>
  277.             <top>295</top>
  278.             <right>478</right>
  279.             <bottom>322</bottom>
  280.         </rect>
  281.         <style>transparent</style>
  282.         <autoSelect> <false /> </autoSelect>
  283.         <showLines> <false /> </showLines>
  284.         <wideMargins> <false /> </wideMargins>
  285.         <multipleLines> <false /> </multipleLines>
  286.         <reservedFamily> 0 </reservedFamily>
  287.         <titleWidth>0</titleWidth>
  288.         <icon>0</icon>
  289.         <textAlign>center</textAlign>
  290.         <font>Palatino</font>
  291.         <textSize>18</textSize>
  292.         <textStyle>plain</textStyle>
  293.         <textHeight>24</textHeight>
  294.         <name>pageno right</name>
  295.         <script></script>
  296.     </part>
  297.     <part>
  298.         <id>25</id>
  299.         <type>field</type>
  300.         <visible> <false /> </visible>
  301.         <dontWrap> <true /> </dontWrap>
  302.         <dontSearch> <false /> </dontSearch>
  303.         <sharedText> <false /> </sharedText>
  304.         <fixedLineHeight> <true /> </fixedLineHeight>
  305.         <autoTab> <false /> </autoTab>
  306.         <lockText> <false /> </lockText>
  307.         <rect>
  308.             <left>29</left>
  309.             <top>295</top>
  310.             <right>85</right>
  311.             <bottom>322</bottom>
  312.         </rect>
  313.         <style>transparent</style>
  314.         <autoSelect> <false /> </autoSelect>
  315.         <showLines> <false /> </showLines>
  316.         <wideMargins> <false /> </wideMargins>
  317.         <multipleLines> <false /> </multipleLines>
  318.         <reservedFamily> 0 </reservedFamily>
  319.         <titleWidth>0</titleWidth>
  320.         <icon>0</icon>
  321.         <textAlign>center</textAlign>
  322.         <font>Palatino</font>
  323.         <textSize>18</textSize>
  324.         <textStyle>plain</textStyle>
  325.         <textHeight>24</textHeight>
  326.         <name>pageno left</name>
  327.         <script></script>
  328.     </part>
  329.     <part>
  330.         <id>27</id>
  331.         <type>field</type>
  332.         <visible> <true /> </visible>
  333.         <dontWrap> <false /> </dontWrap>
  334.         <dontSearch> <false /> </dontSearch>
  335.         <sharedText> <true /> </sharedText>
  336.         <fixedLineHeight> <true /> </fixedLineHeight>
  337.         <autoTab> <false /> </autoTab>
  338.         <lockText> <false /> </lockText>
  339.         <rect>
  340.             <left>32</left>
  341.             <top>32</top>
  342.             <right>100</right>
  343.             <bottom>51</bottom>
  344.         </rect>
  345.         <style>transparent</style>
  346.         <autoSelect> <false /> </autoSelect>
  347.         <showLines> <false /> </showLines>
  348.         <wideMargins> <false /> </wideMargins>
  349.         <multipleLines> <false /> </multipleLines>
  350.         <reservedFamily> 0 </reservedFamily>
  351.         <titleWidth>0</titleWidth>
  352.         <icon>0</icon>
  353.         <textAlign>left</textAlign>
  354.         <font>Palatino</font>
  355.         <textSize>12</textSize>
  356.         <textStyle>plain</textStyle>
  357.         <textHeight>16</textHeight>
  358.         <name></name>
  359.         <script></script>
  360.     </part>
  361.     <part>
  362.         <id>28</id>
  363.         <type>field</type>
  364.         <visible> <true /> </visible>
  365.         <dontWrap> <false /> </dontWrap>
  366.         <dontSearch> <false /> </dontSearch>
  367.         <sharedText> <true /> </sharedText>
  368.         <fixedLineHeight> <true /> </fixedLineHeight>
  369.         <autoTab> <false /> </autoTab>
  370.         <lockText> <false /> </lockText>
  371.         <rect>
  372.             <left>426</left>
  373.             <top>32</top>
  374.             <right>478</right>
  375.             <bottom>51</bottom>
  376.         </rect>
  377.         <style>transparent</style>
  378.         <autoSelect> <false /> </autoSelect>
  379.         <showLines> <false /> </showLines>
  380.         <wideMargins> <false /> </wideMargins>
  381.         <multipleLines> <false /> </multipleLines>
  382.         <reservedFamily> 0 </reservedFamily>
  383.         <titleWidth>0</titleWidth>
  384.         <icon>0</icon>
  385.         <textAlign>left</textAlign>
  386.         <font>Palatino</font>
  387.         <textSize>12</textSize>
  388.         <textStyle>plain</textStyle>
  389.         <textHeight>16</textHeight>
  390.         <name></name>
  391.         <script></script>
  392.     </part>
  393.     <part>
  394.         <id>29</id>
  395.         <type>field</type>
  396.         <visible> <false /> </visible>
  397.         <dontWrap> <false /> </dontWrap>
  398.         <dontSearch> <false /> </dontSearch>
  399.         <sharedText> <true /> </sharedText>
  400.         <fixedLineHeight> <false /> </fixedLineHeight>
  401.         <autoTab> <false /> </autoTab>
  402.         <lockText> <false /> </lockText>
  403.         <rect>
  404.             <left>0</left>
  405.             <top>0</top>
  406.             <right>512</right>
  407.             <bottom>342</bottom>
  408.         </rect>
  409.         <style>scrolling</style>
  410.         <autoSelect> <false /> </autoSelect>
  411.         <showLines> <false /> </showLines>
  412.         <wideMargins> <false /> </wideMargins>
  413.         <multipleLines> <false /> </multipleLines>
  414.         <reservedFamily> 0 </reservedFamily>
  415.         <titleWidth>0</titleWidth>
  416.         <icon>0</icon>
  417.         <textAlign>left</textAlign>
  418.         <font>Geneva</font>
  419.         <textSize>9</textSize>
  420.         <textStyle>plain</textStyle>
  421.         <textHeight>12</textHeight>
  422.         <name>Copied Recipe</name>
  423.         <script>on mouseDownpopUpend mouseDown</script>
  424.     </part>
  425.     <part>
  426.         <id>30</id>
  427.         <type>button</type>
  428.         <visible> <true /> </visible>
  429.         <reserved5> 0 </reserved5>
  430.         <reserved4> 0 </reserved4>
  431.         <reserved3> 0 </reserved3>
  432.         <reserved2> 0 </reserved2>
  433.         <reserved1> 0 </reserved1>
  434.         <enabled> <true /> </enabled>
  435.         <rect>
  436.             <left>259</left>
  437.             <top>291</top>
  438.             <right>288</right>
  439.             <bottom>314</bottom>
  440.         </rect>
  441.         <style>transparent</style>
  442.         <showName> <false /> </showName>
  443.         <highlight> <false /> </highlight>
  444.         <autoHighlight> <true /> </autoHighlight>
  445.         <sharedHighlight> <true /> </sharedHighlight>
  446.         <family>0</family>
  447.         <titleWidth>0</titleWidth>
  448.         <icon>1013</icon>
  449.         <textAlign>center</textAlign>
  450.         <font>Chicago</font>
  451.         <textSize>12</textSize>
  452.         <textStyle>plain</textStyle>
  453.         <name>Next</name>
  454.         <script>on mouseUpgo next cd in this bgend mouseUp</script>
  455.     </part>
  456.     <part>
  457.         <id>31</id>
  458.         <type>button</type>
  459.         <visible> <true /> </visible>
  460.         <reserved5> 0 </reserved5>
  461.         <reserved4> 0 </reserved4>
  462.         <reserved3> 0 </reserved3>
  463.         <reserved2> 0 </reserved2>
  464.         <reserved1> 0 </reserved1>
  465.         <enabled> <true /> </enabled>
  466.         <rect>
  467.             <left>231</left>
  468.             <top>291</top>
  469.             <right>260</right>
  470.             <bottom>314</bottom>
  471.         </rect>
  472.         <style>transparent</style>
  473.         <showName> <false /> </showName>
  474.         <highlight> <false /> </highlight>
  475.         <autoHighlight> <true /> </autoHighlight>
  476.         <sharedHighlight> <true /> </sharedHighlight>
  477.         <family>0</family>
  478.         <titleWidth>0</titleWidth>
  479.         <icon>1014</icon>
  480.         <textAlign>center</textAlign>
  481.         <font>Chicago</font>
  482.         <textSize>12</textSize>
  483.         <textStyle>plain</textStyle>
  484.         <name>Prev</name>
  485.         <script>on mouseUpgo prev cd in this bgend mouseUp</script>
  486.     </part>
  487.     <part>
  488.         <id>33</id>
  489.         <type>field</type>
  490.         <visible> <false /> </visible>
  491.         <dontWrap> <false /> </dontWrap>
  492.         <dontSearch> <false /> </dontSearch>
  493.         <sharedText> <true /> </sharedText>
  494.         <fixedLineHeight> <false /> </fixedLineHeight>
  495.         <autoTab> <false /> </autoTab>
  496.         <lockText> <false /> </lockText>
  497.         <rect>
  498.             <left>167</left>
  499.             <top>36</top>
  500.             <right>351</right>
  501.             <bottom>210</bottom>
  502.         </rect>
  503.         <style>scrolling</style>
  504.         <autoSelect> <false /> </autoSelect>
  505.         <showLines> <false /> </showLines>
  506.         <wideMargins> <false /> </wideMargins>
  507.         <multipleLines> <false /> </multipleLines>
  508.         <reservedFamily> 0 </reservedFamily>
  509.         <titleWidth>0</titleWidth>
  510.         <icon>0</icon>
  511.         <textAlign>left</textAlign>
  512.         <font>Geneva</font>
  513.         <textSize>9</textSize>
  514.         <textStyle>plain</textStyle>
  515.         <textHeight>12</textHeight>
  516.         <name>Section Data</name>
  517.         <script></script>
  518.     </part>
  519.     <part>
  520.         <id>34</id>
  521.         <type>button</type>
  522.         <visible> <true /> </visible>
  523.         <reserved5> 0 </reserved5>
  524.         <reserved4> 0 </reserved4>
  525.         <reserved3> 0 </reserved3>
  526.         <reserved2> 0 </reserved2>
  527.         <reserved1> 0 </reserved1>
  528.         <enabled> <true /> </enabled>
  529.         <rect>
  530.             <left>310</left>
  531.             <top>295</top>
  532.             <right>410</right>
  533.             <bottom>317</bottom>
  534.         </rect>
  535.         <style>roundrect</style>
  536.         <showName> <true /> </showName>
  537.         <highlight> <false /> </highlight>
  538.         <autoHighlight> <false /> </autoHighlight>
  539.         <sharedHighlight> <true /> </sharedHighlight>
  540.         <family>0</family>
  541.         <titleWidth>0</titleWidth>
  542.         <icon>0</icon>
  543.         <textAlign>center</textAlign>
  544.         <font>Chicago</font>
  545.         <textSize>12</textSize>
  546.         <textStyle>plain</textStyle>
  547.         <name>Clean Up</name>
  548.         <script>on mouseUpif the optionKey is down thenset the hilite of bg btn "Cleaned?" to falseexit mouseUpend ifset cursor to watchput false into redorepeat with X = 1 to the number of bg fieldsrepeat foreverput offset("
  549. ",bg fld X) into tempif temp is 0 then exit repeatput empty into char temp of bg fld Xend repeatend repeatrepeat with X = 1 to the number of lines in bg fld "Ingredients"repeat foreverif char 1 of line X of bg fld "Ingredients" is " " thendelete char 1 of line X of bg fld "Ingredients"elseexit repeatend ifend repeatend repeatrepeat with X = 1 to the number of lines in bg fld "Directions"repeat foreverif char 1 of line X of bg fld "Directions" is " " thendelete char 1 of line X of bg fld "Directions"elseexit repeatend ifend repeatend repeatrepeat foreverput offset("  ",bg fld "Ingredients") into tempif temp is 0 then exit repeatput empty into char temp of bg fld "Ingredients"end repeatrepeat with X = 1 to the number of words in bg fld "Name"put char 1 of word X of bg fld "Name" into tempput chartoNum(temp) into tempif (temp < 123) and (temp > 96) thensubtract 32 from tempput numtochar(temp) into char 1 of word X of bg fld "Name"end ifend repeatrepeat with X = 1 to the number of lines in bg fld "Ingredients"repeat with Y = 2 to the number of words in line X of bg fld "Ingredients"if (the number of chars in word Y of line X of bg fld "Ingredients" is 1) or¬¨(last char of word Y of line X of bg fld "Ingredients" is ".") then--skipelseput 1 into cindyCharrepeat foreverif cindyChar > length(word Y of line X of bg fld "Ingredients") then exit repeatput char cindyChar of word Y of line X of bg fld "Ingredients" into tempput charToNum(temp) into tempif (temp < 91) and (temp > 64) thenadd 32 to tempput numtochar(temp) into char cindyChar of word Y of line X of bg fld "Ingredients"end ifadd 1 to cindyCharend repeatend ifend repeatend repeatput the number of bg fld "Name" into Xrepeat with Y = 1 to the number of words in bg fld Xrepeat with Z = 2 to the number of chars in word Y of bg fld Xput char Z of word Y of bg fld X into tempput charToNum(temp) into tempif (temp < 91) and (temp > 64) thenadd 32 to tempput numtochar(temp) into char Z of word Y of bg fld Xend ifend repeatend repeatput return & return into keepTheserepeat foreverput offset(keepThese,bg fld "Directions") into theCharif theChar is 0 then exit repeatput "‚àÜ" into char theChar to theChar + 1 of bg fld "Directions"end repeatrepeat foreverput offset(return,bg fld "Directions") into theCharif theChar is 0 then exit repeatput " " into char theChar of bg fld "Directions"end repeatrepeat foreverput offset("‚àÜ",bg fld "Directions") into theCharif theChar is 0 then exit repeatput keepThese into char theChar of bg fld "Directions"end repeatif the highlight of bg btn "Cleaned?" is false then--skipelseif the textFont of line 1 of bg fld "Directions" is "N Helvetica Narrow" thenset the textFont of line 1 to 999 of bg fld "Directions" to "Palatino"set the textSize of line 1 to 999 of bg fld "Directions" to 10elseset the textFont of line 1 to 999 of bg fld "Directions" to "N Helvetica Narrow"set the textSize of line 1 to 999 of bg fld "Directions" to 9end ifend ifset the hilight of bg btn "Cleaned?" to trueend mouseUp</script>
  550.     </part>
  551.     <part>
  552.         <id>35</id>
  553.         <type>button</type>
  554.         <visible> <false /> </visible>
  555.         <reserved5> 0 </reserved5>
  556.         <reserved4> 0 </reserved4>
  557.         <reserved3> 0 </reserved3>
  558.         <reserved2> 0 </reserved2>
  559.         <reserved1> 0 </reserved1>
  560.         <enabled> <true /> </enabled>
  561.         <rect>
  562.             <left>25</left>
  563.             <top>278</top>
  564.             <right>483</right>
  565.             <bottom>319</bottom>
  566.         </rect>
  567.         <style>roundrect</style>
  568.         <showName> <true /> </showName>
  569.         <highlight> <false /> </highlight>
  570.         <autoHighlight> <false /> </autoHighlight>
  571.         <sharedHighlight> <true /> </sharedHighlight>
  572.         <family>0</family>
  573.         <titleWidth>0</titleWidth>
  574.         <icon>0</icon>
  575.         <textAlign>center</textAlign>
  576.         <font>Chicago</font>
  577.         <textSize>12</textSize>
  578.         <textStyle>plain</textStyle>
  579.         <name>Done</name>
  580.         <script>on mouseUphide bg fld "New Recipe"hide bg btn "Done"hide bg btn "Name"hide bg btn "Ingredients"hide bg btn "Directions"hide bg btn "Calories"hide bg btn "Serves"doMenu "Background"end mouseUp</script>
  581.     </part>
  582.     <part>
  583.         <id>36</id>
  584.         <type>field</type>
  585.         <visible> <false /> </visible>
  586.         <dontWrap> <false /> </dontWrap>
  587.         <dontSearch> <false /> </dontSearch>
  588.         <sharedText> <true /> </sharedText>
  589.         <fixedLineHeight> <false /> </fixedLineHeight>
  590.         <autoTab> <false /> </autoTab>
  591.         <lockText> <false /> </lockText>
  592.         <rect>
  593.             <left>29</left>
  594.             <top>75</top>
  595.             <right>478</right>
  596.             <bottom>247</bottom>
  597.         </rect>
  598.         <style>scrolling</style>
  599.         <autoSelect> <false /> </autoSelect>
  600.         <showLines> <false /> </showLines>
  601.         <wideMargins> <false /> </wideMargins>
  602.         <multipleLines> <false /> </multipleLines>
  603.         <reservedFamily> 0 </reservedFamily>
  604.         <titleWidth>0</titleWidth>
  605.         <icon>0</icon>
  606.         <textAlign>left</textAlign>
  607.         <font>Geneva</font>
  608.         <textSize>9</textSize>
  609.         <textStyle>plain</textStyle>
  610.         <textHeight>12</textHeight>
  611.         <name>New Recipe</name>
  612.         <script></script>
  613.     </part>
  614.     <part>
  615.         <id>37</id>
  616.         <type>button</type>
  617.         <visible> <false /> </visible>
  618.         <reserved5> 0 </reserved5>
  619.         <reserved4> 0 </reserved4>
  620.         <reserved3> 0 </reserved3>
  621.         <reserved2> 0 </reserved2>
  622.         <reserved1> 0 </reserved1>
  623.         <enabled> <true /> </enabled>
  624.         <rect>
  625.             <left>33</left>
  626.             <top>252</top>
  627.             <right>133</right>
  628.             <bottom>274</bottom>
  629.         </rect>
  630.         <style>roundrect</style>
  631.         <showName> <true /> </showName>
  632.         <highlight> <false /> </highlight>
  633.         <autoHighlight> <false /> </autoHighlight>
  634.         <sharedHighlight> <true /> </sharedHighlight>
  635.         <family>0</family>
  636.         <titleWidth>0</titleWidth>
  637.         <icon>0</icon>
  638.         <textAlign>center</textAlign>
  639.         <font>Chicago</font>
  640.         <textSize>12</textSize>
  641.         <textStyle>plain</textStyle>
  642.         <name>Name</name>
  643.         <script>on mouseUpif the selection is empty thenput "Error - no text selected!"exit mouseUpend ifput line 1 of the selection into bg fld "Name"end mouseUp</script>
  644.     </part>
  645.     <part>
  646.         <id>38</id>
  647.         <type>button</type>
  648.         <visible> <false /> </visible>
  649.         <reserved5> 0 </reserved5>
  650.         <reserved4> 0 </reserved4>
  651.         <reserved3> 0 </reserved3>
  652.         <reserved2> 0 </reserved2>
  653.         <reserved1> 0 </reserved1>
  654.         <enabled> <true /> </enabled>
  655.         <rect>
  656.             <left>139</left>
  657.             <top>252</top>
  658.             <right>239</right>
  659.             <bottom>274</bottom>
  660.         </rect>
  661.         <style>roundrect</style>
  662.         <showName> <true /> </showName>
  663.         <highlight> <false /> </highlight>
  664.         <autoHighlight> <false /> </autoHighlight>
  665.         <sharedHighlight> <true /> </sharedHighlight>
  666.         <family>0</family>
  667.         <titleWidth>0</titleWidth>
  668.         <icon>0</icon>
  669.         <textAlign>center</textAlign>
  670.         <font>Chicago</font>
  671.         <textSize>12</textSize>
  672.         <textStyle>plain</textStyle>
  673.         <name>Ingredients</name>
  674.         <script>on mouseUpif the selection is empty thenput "Error - no text selected!"exit mouseUpend ifput the selection into bg fld "Ingredients"end mouseUp</script>
  675.     </part>
  676.     <part>
  677.         <id>39</id>
  678.         <type>button</type>
  679.         <visible> <false /> </visible>
  680.         <reserved5> 0 </reserved5>
  681.         <reserved4> 0 </reserved4>
  682.         <reserved3> 0 </reserved3>
  683.         <reserved2> 0 </reserved2>
  684.         <reserved1> 0 </reserved1>
  685.         <enabled> <true /> </enabled>
  686.         <rect>
  687.             <left>246</left>
  688.             <top>252</top>
  689.             <right>346</right>
  690.             <bottom>274</bottom>
  691.         </rect>
  692.         <style>roundrect</style>
  693.         <showName> <true /> </showName>
  694.         <highlight> <false /> </highlight>
  695.         <autoHighlight> <false /> </autoHighlight>
  696.         <sharedHighlight> <true /> </sharedHighlight>
  697.         <family>0</family>
  698.         <titleWidth>0</titleWidth>
  699.         <icon>0</icon>
  700.         <textAlign>center</textAlign>
  701.         <font>Chicago</font>
  702.         <textSize>12</textSize>
  703.         <textStyle>plain</textStyle>
  704.         <name>Directions</name>
  705.         <script>on mouseUpif the selection is empty thenput "Error - no text selected!"exit mouseUpend ifput the selection into bg fld "Directions"end mouseUp</script>
  706.     </part>
  707.     <part>
  708.         <id>40</id>
  709.         <type>button</type>
  710.         <visible> <false /> </visible>
  711.         <reserved5> 0 </reserved5>
  712.         <reserved4> 0 </reserved4>
  713.         <reserved3> 0 </reserved3>
  714.         <reserved2> 0 </reserved2>
  715.         <reserved1> 0 </reserved1>
  716.         <enabled> <true /> </enabled>
  717.         <rect>
  718.             <left>349</left>
  719.             <top>252</top>
  720.             <right>449</right>
  721.             <bottom>274</bottom>
  722.         </rect>
  723.         <style>roundrect</style>
  724.         <showName> <true /> </showName>
  725.         <highlight> <false /> </highlight>
  726.         <autoHighlight> <false /> </autoHighlight>
  727.         <sharedHighlight> <true /> </sharedHighlight>
  728.         <family>0</family>
  729.         <titleWidth>0</titleWidth>
  730.         <icon>0</icon>
  731.         <textAlign>center</textAlign>
  732.         <font>Chicago</font>
  733.         <textSize>12</textSize>
  734.         <textStyle>plain</textStyle>
  735.         <name>Serves</name>
  736.         <script>on mouseUpif the selection is empty thenput "Error - no text selected!"exit mouseUpend ifput the selection into bg fld "Serves"end mouseUp</script>
  737.     </part>
  738.     <part>
  739.         <id>41</id>
  740.         <type>button</type>
  741.         <visible> <false /> </visible>
  742.         <reserved5> 0 </reserved5>
  743.         <reserved4> 0 </reserved4>
  744.         <reserved3> 0 </reserved3>
  745.         <reserved2> 0 </reserved2>
  746.         <reserved1> 0 </reserved1>
  747.         <enabled> <true /> </enabled>
  748.         <rect>
  749.             <left>32</left>
  750.             <top>276</top>
  751.             <right>132</right>
  752.             <bottom>298</bottom>
  753.         </rect>
  754.         <style>roundrect</style>
  755.         <showName> <true /> </showName>
  756.         <highlight> <false /> </highlight>
  757.         <autoHighlight> <false /> </autoHighlight>
  758.         <sharedHighlight> <true /> </sharedHighlight>
  759.         <family>0</family>
  760.         <titleWidth>0</titleWidth>
  761.         <icon>0</icon>
  762.         <textAlign>center</textAlign>
  763.         <font>Chicago</font>
  764.         <textSize>12</textSize>
  765.         <textStyle>plain</textStyle>
  766.         <name>Calories</name>
  767.         <script>on mouseUpif the selection is empty thenput "Error - no text selected!"exit mouseUpend ifput the selection into bg fld "Calories"end mouseUp</script>
  768.     </part>
  769.     <part>
  770.         <id>43</id>
  771.         <type>button</type>
  772.         <visible> <false /> </visible>
  773.         <reserved5> 0 </reserved5>
  774.         <reserved4> 0 </reserved4>
  775.         <reserved3> 0 </reserved3>
  776.         <reserved2> 0 </reserved2>
  777.         <reserved1> 0 </reserved1>
  778.         <enabled> <true /> </enabled>
  779.         <rect>
  780.             <left>328</left>
  781.             <top>273</top>
  782.             <right>410</right>
  783.             <bottom>293</bottom>
  784.         </rect>
  785.         <style>checkbox</style>
  786.         <showName> <true /> </showName>
  787.         <highlight> <false /> </highlight>
  788.         <autoHighlight> <false /> </autoHighlight>
  789.         <sharedHighlight> <true /> </sharedHighlight>
  790.         <family>0</family>
  791.         <titleWidth>0</titleWidth>
  792.         <icon>0</icon>
  793.         <textAlign>center</textAlign>
  794.         <font>Chicago</font>
  795.         <textSize>12</textSize>
  796.         <textStyle>plain</textStyle>
  797.         <name>Cleaned?</name>
  798.         <script></script>
  799.     </part>
  800.     <content>
  801.         <layer>background</layer>
  802.         <id>27</id>
  803.         <text>Calories:</text>
  804.     </content>
  805.     <content>
  806.         <layer>background</layer>
  807.         <id>28</id>
  808.         <text>Serves</text>
  809.     </content>
  810.     <content>
  811.         <layer>background</layer>
  812.         <id>29</id>
  813.         <text>Microwave Peanut Brittle1 cup raw peanuts1 cup sugar1/2 cup white syrup1/8 teaspoon salt1 tablespoon butter1 teaspoon vanilla1 teaspoon baking sodaIn 1 1/2 quart casserole cook the peanuts, sugar, syrup and salt on high for 4 minutes. Stir, then cook 3 minutes 45 seconds. Then add butter and vanilla and cook 2 minutes. Stir in soda until light and foamy and pour on greased cookie sheet. Break when cool. </text>
  814.     </content>
  815.     <content>
  816.         <layer>background</layer>
  817.         <id>33</id>
  818.         <text>AccompanimentsAppetizersBeef DishesBeveragesBreadsCakesCandy and SnacksCasserolesChineseCookiesDessertsEgg and Cheese DishesFish DishesKids CornerLow FatNewPastaPiesPork DishesPoultry DishesSaladsSandwichesSaucesSoupsVegetables</text>
  819.     </content>
  820.     <content>
  821.         <layer>background</layer>
  822.         <id>36</id>
  823.         <text>Subj:  Re:french creole doughnuts            94-12-22 14:37:02 ESTFrom:  Sjofn mThere are a couple on the New Orleans Desserts thread. Here is the one I posted.If you are interested in another, the following comes from 'Jambalaya', the collection of the Junior League of New Orleans.Beignets #41/2 cup warm water1 package dry yeast1/2 cup evaporated milk1 egg, beaten1 teaspoon vanilla 2 tablespoons oil1/4 cup sugar1 teaspoon salt3 cups flour   Oil for deep frying    Powdered sugarIn a large mixing bowl, dissolve yeast in water. Add milk, egg, vanilla, oil, sugar, and salt. Add flour, beating vigorously. Dough will be very sticky.On a heavily floured surface, place a fourth of dough and  roll out with a well-floured rolling pin to about 1/8-inch thickness. Cut into 2-inch squares. Heat oil to 370, or until 2 matches floating in oil ignite.Drop beignets a few at a time into oil. They will rise to the surface and puff up, turn over to brown other side. Remove and drain on paper towels; dust with powdered sugar. Serve warm. Unused dough can be refrigerated up to one week. </text>
  824.     </content>
  825.     <name>Recipes</name>
  826.     <script>on openBackgroundif there is a menu "Print" thenset the enabled of menuItem "Recipe" of menu "Print" to trueset the enabled of menuItem "Delete Recipe" of menu "Utilities" ¬¨to trueset the enabled of menuItem "Speak Recipe" of menu "Utilities" ¬¨to trueset the enabled of menuItem "Copy Recipe to Clipboard" of menu "Utilities" ¬¨to trueset the enabled of menuItem "Recalculate Calories" of menu ¬¨"Utilities" to trueend ifend openBackgroundon closeBackgroundif there is a menu "Print" thenset the enabled of menuItem "Recipe" of menu "Print" to falseset the enabled of menuItem "Delete Recipe" of menu "Utilities" ¬¨to falseset the enabled of menuItem "Speak Recipe" of menu "Utilities" ¬¨to falseset the enabled of menuItem "Copy Recipe to Clipboard" of menu "Utilities" ¬¨to falseset the enabled of menuItem "Recalculate Calories" of menu ¬¨"Utilities" to falseend ifend closeBackgroundon popUp--extract the popup field name and data field nameput the short name of the target into fieldNameput "put " & quote & fieldName & quote & " & " & quote & ¬¨" Data" & quote & " into fieldData" into doMedo doMeput FullHPop(bg fld fieldData) into tempif temp is empty then--skipexit to HyperCardelseif item 2 of temp is not empty thenput item 2 of temp into tempelseput item 1 of temp into tempend ifput temp into bg field fieldNameend ifend popUpon openCardset the hilight of bg btn "Cleaned?" to falsepass openCardend openCardon mouseUpsort cds in this bg by bg fld "Name"sort cds in this bg by bg fld "Section"put "There are " & the number of cards in this bg & " recipes in the " &¬¨"stack now!"pass mouseUpend mouseUpon doMenu whichif which is "New Card" thensend "doMenu New Card" to HyperCardput "New" into bg fld "section"updateSection "New"elsepass doMenuend ifend doMenuon closeCardif bg fld "Name" is empty then put "*No Title*" into bg fld "Name"end closeCardfunction theCaloriesif bg fld "Calories" is empty thenreturn emptyelsereturn "Calories: " & bg fld "Calories"end ifend theCaloriesfunction servesif bg fld "serves" is empty thenreturn emptyelsereturn "Serves: " & bg fld "serves"end ifend serves</script>
  827. </background>
  828.